package com.sofwin.ruoyi.scyffinal;

import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


/**
 * 双重预防模块启动类
 *
 * 该类是双重预防系统的Spring Boot启动类，负责初始化整个模块。
 * 集成了Ruoyi框架的安全配置、Feign客户端、MyBatis Mapper扫描等功能。
 *
 * @author liuxingchen
 * @since 2025/9/30
 */
@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication
@MapperScan(basePackages = "com.sofwin.ruoyi.scyffinal.mapper")
@EnableFeignClients
@RestController
public class RuoyiScyfFinalApplication {



    public static void main(String[] args) {
        SpringApplication.run(RuoyiScyfFinalApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  双重预防模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " .-------.       ____     __        \n" +
                " |  _ _   \\      \\   \\   /  /    \n" +
                " | ( ' )  |       \\  _. /  '       \n" +
                " |(_ o _) /        _( )_ .'         \n" +
                " | (_,_).' __  ___(_ o _)'          \n" +
                " |  |\\ \\  |  ||   |(_,_)'         \n" +
                " |  | \\ `'   /|   `-'  /           \n" +
                " |  |  \\    /  \\      /           \n" +
                " ''-'   `'-'    `-..-'              ");
    }

}
